package com.b3434.Processor;

import com.b3434.Bean.Parameter;
import org.apache.avro.generic.GenericRecord;

/**
 * Created by Lee on 2017/3/21 0021.
 */
public class ConcreteProcessor extends Processor {


    public ConcreteProcessor(GenericRecord dataMap , Parameter parameter) {
        this.dataMap=dataMap;
        this.parameter = parameter;
    }
    @Override
    public GenericRecord process(String originStr) {
        this.originStr=originStr;
        return dataMap;
    }
}
